package com.dubbo.demo.provider.test;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

public class ProviderMain {
    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"dubbo-user-provider002.xml"});
        context.start();
        System.out.println("服务启动成功，端口：20882");
        System.in.read();
    }
}
